package com.bean;

/**
 * 用户表
 * @author Administrator
 *
 */
public class User {
    private Integer userId;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 用户名 用户登录
     */
    private String username;

    /**
     * 密码 用于登录
     */
    private String password;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 状态码 0为已删除  1为未删除
     */
    private Integer state;

    /**
     * 角色id
     */
    private Integer roleId;
    
    /**
     * 手机号码
     */
    private String phoneNumber;
    
    /**
     * 备注
     */
    private String remark;
    
    private Role role;

    
    
    public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }
}